package cn.iocoder.yudao.module.tms.controller.admin.attachmentinfo.vo;

import lombok.*;

import java.time.LocalDate;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 公司附件信息分页 Request VO")
@Data
public class AttachmentInfoPageReqVO extends PageParam {

    @Schema(description = "关联的公司ID", example = "32045")
    private Long companyId;

    @Schema(description = "附件类型", example = "1")
    private String attachType;

    @Schema(description = "附件名称", example = "李四")
    private String attachName;

    @Schema(description = "附件存储路径")
    private String attachPath;

    @Schema(description = "附件大小（字节）")
    private Long attachSize;

    @Schema(description = "附件格式")
    private String attachFormat;

    @Schema(description = "上传人")
    private String uploadUser;

    @Schema(description = "上传日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate[] uploadDate;

    @Schema(description = "附件状态", example = "2")
    private String attachStatus;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}